Current Location: Blog >
Hong Kong CN2
1. Preparation and information collection before migration
- Confirm the existing topology: record the current peer IP, subnet, autonomous system number (ASN), routing prefix, physical link interface and MPLS/VPN information. - Confirm with the upstream/new node (Shatin) operator: peer IP, AS, MTU, whether CN2 is supported, whether BFD/MD5 is required, VLAN ID, link type (L2/L3). - Prepare credentials and change window: obtain the peer contact person, maintenance window, fault rollback time point and emergency contact information.
2. Backup and environment verification
- Back up current router/firewall configuration and save to version control (eg: TFTP/SFTP). - Verify whether the configuration template (BGP, ACL, Prefix-list, route-map) can pass syntax verification in the simulation environment in the test environment or non-production period. - Check link health: ping/mtu-check, interface error count, link utilization.3. Coordinate with Shatin node and apply for resources
- Submit a work order to the Shatin operator, apply for BGP peering, inform your ASN and the prefix to be published; confirm whether any special filtering is required. - Ask for the peer test IP and available VLAN/sub-interface number; confirm whether specific route-map or prefix-limit is required on the peer.4. Local router configuration template (example: Cisco IOS)
- Basic BGP configuration example: router bgp 65001 neighbor 203.0.113.1 remote-as 65000 neighbor 203.0.113.1 description ShaTin-CN2 neighbor 203.0.113.1 password 75. Dry Run and verification commands before switching
- Do a rehearsal before the maintenance window: simulate the peer in the local lab or on the non-production interface, perform neighbor establishment, and observe the BGP state. - Commonly used verification commands: show ip bgp summary, show ip bgp neighbors 203.0.113.1, show route-map, show ip prefix-list, traceroute -m, confirm AS PATH/next-hop. - Use online/third-party monitoring (BGPlay, BGPView, RIPE/Routeviews) to view route visibility.6. Actual switching steps (recommended order)
- 1) Notify the peer again and confirm before the maintenance window starts. - 2) Temporarily reduce the BGP egress route priority on the local end or use preference/weight adjustment to gradually guide the traffic to the new link (you can do traffic diversion first). - 3) Add a new peer on the router and activate the peer configuration (add neighbor according to template). - 4) Observe that the BGP state changes to ESTABLISHED and confirm the received route (show ip bgp neighbor). - 5) Deliver your prefix (soft-reconfig outbound or clear ip bgp7. Verification and monitoring after switching
- Execute immediately: ping/traceroute to key destinations, mtr to check packet loss and delay. - Check global visibility: Use BGP Looking Glass or routeviews to confirm that your prefix is reachable from multiple locations. - Monitor 24-72 hours: traffic curve, packet loss rate, delay, BGP session stability (up/down events), BFD status (if enabled).8. Rollback plan and common problem handling
- Rollback preparation: retain the old link configuration and record rollback commands (for example: revoke the new neighbor and restore the old weight/route-policy). - Common problem handling: If BGP cannot be established, check MD5/AS/peer IP/ACL and MTU; if the prefix is not broadcast, check whether prefix-list/route-map is intercepted by mistake; if traffic is abnormal, check next-hop and NAT policies.9. Follow-up work and optimization after completion of migration
- After confirming that it is stable, confirm with the peer and formally close the old link (if necessary). - Optimization: Enable BFD to shorten fault detection, adjust route-map for traffic engineering, and set community tags for better upstream dissemination. - Documentation: Update network documentation, IP/ASN records, maintenance manuals and change orders.Q: How long will the migration require?
Answer: Usually, under the conditions of good rehearsal and BGP pre-configuration, the actual switchover time can be controlled within a few minutes to half an hour (mainly depends on route convergence and upstream propagation). It is recommended to reserve 1-2 hours as a maintenance window to deal with unexpected events and perform rollbacks.
Q: If the peer requires MD5 verification or BFD, how to configure it?
Answer: MD5 uses neighbor password on Cisco and peer password cipher on Huawei. BFD needs to be enabled on both sides at the same time and bound under the interface or BGP neighbor. Confirm that the timers of both parties are consistent (such as 50ms/3 times). Before implementation, negotiate parameters with the peer and verify them in the test environment.
Q: How can I confirm that my prefix is reachable on the Internet?
Answer: Use multi-point verification: local traceroute/mtr to confirm the path; visit RIPE/Routeviews/BGP Looking Glass to check whether your prefix is learned by major routers; use third-party monitoring (such as bgp.he.net, bgpview.io) to view global visibility and record AS PATH.
- Latest articles
- Customer Questions And Answers: What Does It Mean To Restrict The Use Of US Cloud Servers And Actual Cases?
- How Much Does A Cloud Server In Vietnam Cost? Common Hidden Fees And Instructions On How To Avoid Them
- A Must-read For Artist Fans: How To Join The Korean Support Site Group And Optimize The Distribution Of Support Content
- Enterprise Perspective Malaysia Has Servers Deployment Advantages And Cost Assessment Report
- Enterprise Migration To Hong Kong + Comprehensive Assessment Of Costs And Security Of High-defense Servers
- Operation And Maintenance Experience Sharing Vultr Singapore Cn2 Collection Of Common Faults And Quick Recovery Methods
- Comparative Analysis Of Key Points For Selecting Korean Native IP Computer Rooms And Bandwidth Resources
- Contract And Legal Risk Reminder Key Points When Signing A Vps Dedicated Line Singapore Service Contract
- Huawei Cloud Singapore Server Cost Optimization Tips Comparison Between Annual And Monthly Subscription And Pay-as-you-go Billing
- Technical White Paper On The Advantages And Disadvantages Of Vietnam Cn2 Compared With Other Asian Transit Lines
- Popular tags
Dedicated Hosting
Singapore Native Servers
Monitoring
Speed Test
Backup
Mpls
User Feedback
Cost Control
Verification Vouchers
User Guide
Cross-border Business
Ping Test
Installation
Intrusion Detection
Network Performance
Singapore Server Power Cable Standards
Free Vps
Bandwidth
Cloud Server
VPS Recommendations
Dts
Singapore Vps Vouchers
Server Speed
Game Tutorial
Network Acceleration
Cross-region Login
Server Encryption
Bitcoin Transactions
Flexibility
Fq_code
Related Articles
-
How Enterprise-level Applications Use Penguin House, Hong Kong Shatin Cn2 To Speed Up Domestic And Foreign Access
for enterprise-level applications, it introduces how to use penguin house's cn2 node in shatin, hong kong to optimize domestic and foreign access, including server configuration recommendations, network and tcp optimization, dns/cdn strategies, ddos defense and real performance comparison data and cases. -
Features And Usage Suggestions Of Alibaba Cloud Hong Kong Cn2 Gia Service
detailed introduction to the characteristics and usage suggestions of alibaba cloud hong kong cn2 gia service, suitable for users with different needs. -
Does Alibaba Cloud Hong Kong Server Support Cn2 Network?
learn whether the alibaba cloud hong kong server supports the cn2 network and its related advantages and usage methods.